package com.scau.bookstore.repository.mapper;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.scau.bookstore.common.pojo.Address;

import java.util.List;

public interface AddressDao extends JpaRepository<Address,Long>,JpaSpecificationExecutor<Address>{
	List<Address> findByUserId(Long userId);
}
